package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.GoodsSearchDao;
import com.bootdo.wx.domain.GoodsSearchDO;
import com.bootdo.wx.service.GoodsSearchService;



@Service
public class GoodsSearchServiceImpl implements GoodsSearchService {
	@Autowired
	private GoodsSearchDao goodsSearchDao;
	
	@Override
	public GoodsSearchDO get(String id){
		return goodsSearchDao.get(id);
	}
	
	@Override
	public List<GoodsSearchDO> list(Map<String, Object> map){
		return goodsSearchDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodsSearchDao.count(map);
	}
	
	@Override
	public int save(GoodsSearchDO goodsSearch){
		return goodsSearchDao.save(goodsSearch);
	}
	
	@Override
	public int update(GoodsSearchDO goodsSearch){
		return goodsSearchDao.update(goodsSearch);
	}
	
	@Override
	public int remove(String id){
		return goodsSearchDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return goodsSearchDao.batchRemove(ids);
	}

    @Override
    public List<GoodsSearchDO> likeList(Map<String, Object> map){
        return goodsSearchDao.likeList(map);
    }
	
}
